<!DOCTYPE HTML>
<html style="background: #FFFFFF;">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>法援宝</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <link rel="stylesheet" type="text/css" href="../css/lawyer.css" />
    <script type="text/javascript" src="../script/api.js"></script>
    <script type="text/javascript" src="../script/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="../script/mobile.js"></script>
    <script type="text/javascript" src="../script/lawyer.js"></script>



	<style type="text/css">
		.money_sum_price{
			display: inline-block;
			width: 30%;
			text-align: right;
			font-family: Arial;
		}
		.money_sum_price span{
			display: block;
			font-size: 0.3rem;
			color: #333333;
		}
	</style>
</head>
<body>
<div id="secHeader">
  <header class="header">
      <a href="javascript:void(0);" onclick="comeBack()" class="back_btn"><img src="../image/head-fanhui.png" alt=""></a>
      <h2>未到账</h2>
      <!--<a href="javascript:void (0);" class="search_btn set_btn">设置</a>-->
  </header>
</div>
<section class="statistics">
    <div class="user_info">
        <ul id="con">

            <!--<li>
                <a href="javascript:;">
                    <img src="../image/infoImg1.png" alt="">
                    <div class="info">
                        <p>138****8868</p>
                        <span>图文咨询</span>
                    </div>
                    <div class="money_sum_price">
                        <span>8.66元</span>
                    </div>
                </a>
            </li>-->

        </ul>
    </div>
</section>

</body><include file="Public/footer" /><script type="text/javascript" src="../scriptlawyer.js"></script>

<script>
    var page=1;

    var state=1;
    var type=1;
    var sort=0;
    apiready = function () {
      $api.fixStatusBar( $api.dom('#secHeader') );
      api.setStatusBarStyle({
          style: 'light'
      });
        

        toDoRequest();
    };



    function toDoRequest(){

        var p= {token:token,page:page};
        api.ajax({
            url: webSiteUrl+'/app/user/swdz',
            method: 'post',
            data: {
                values: p
            }
        }, function(ret, err) {

            if(ret.code==200){

                html = "";
                var tj=ret.data;
                if(tj != null){

                    for(var i=0;i<tj.length;i++){
html+='<li><a href="javascript:;"><img src="'+webSiteUrl+tj[i].icon+'" alt=""><div class="info"><p>'+tj[i].name+'</p><span>'+tj[i].ordertype+'</span></div><div class="money_sum_price"><span>'+tj[i].pay_price+'元</span></div></a></li>';


                    }

                }
                if(page==1){
                    $('#con').html(html);
                }else{
                    $('#con').append(html);
                }
                page++;


            }else{
                if(page==1){
                    $('#con').html('<p style="text-align:center">暂无数据</p>');
                }

            }
        });

    }



</script>
</html>
